package com.hexiang.web.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QueryParamRequest implements Serializable {
    @NotEmpty(message = "开始时间不能为空")
    private String startCreateTime;
    @NotEmpty(message = "结束时间不能为空")
    private String endCreateTime;
}